↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
QS_IN_AG(.(X, Xs), Ys) → U1_AG(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AG(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AAAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
LESS_IN_AA(s(X), s(Y)) → U9_AA(X, Y, less_in_aa(X, Y))
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U9_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AAAA(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AG(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
QS_IN_AA(.(X, Xs), Ys) → U1_AA(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AA(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AA(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_AA(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U3_AA(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_AA(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
U3_AA(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → APP_IN_AAA(Ls, .(X, Bs), Ys)
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → U8_AAA(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
U2_AG(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_AG(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U2_AG(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U3_AG(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_AG(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
U3_AG(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → APP_IN_AAG(Ls, .(X, Bs), Ys)
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → U8_AAG(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
QS_IN_AG(.(X, Xs), Ys) → U1_AG(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AG(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AAAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
LESS_IN_AA(s(X), s(Y)) → U9_AA(X, Y, less_in_aa(X, Y))
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U9_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AAAA(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AG(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
QS_IN_AA(.(X, Xs), Ys) → U1_AA(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AA(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AA(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_AA(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U3_AA(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_AA(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
U3_AA(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → APP_IN_AAA(Ls, .(X, Bs), Ys)
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → U8_AAA(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
U2_AG(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_AG(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U2_AG(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U3_AG(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_AG(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
U3_AG(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → APP_IN_AAG(Ls, .(X, Bs), Ys)
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → U8_AAG(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAG(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAG(.(X, Zs)) → APP_IN_AAG(Zs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
APP_IN_AAA → APP_IN_AAA
APP_IN_AAA → APP_IN_AAA
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_GA(s(X)) → LESS_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
U5_GAAA(X, less_out_ga) → PART_IN_GAAA(X)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(X) → U5_GAAA(X, less_in_ga(X))
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U9_ga(less_in_ga(X))
U9_ga(less_out_ga) → less_out_ga
less_in_ga(x0)
U9_ga(x0)
PART_IN_GAAA(s(x0)) → U5_GAAA(s(x0), U9_ga(less_in_ga(x0)))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
U5_GAAA(X, less_out_ga) → PART_IN_GAAA(X)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(s(x0)) → U5_GAAA(s(x0), U9_ga(less_in_ga(x0)))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga)
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U9_ga(less_in_ga(X))
U9_ga(less_out_ga) → less_out_ga
less_in_ga(x0)
U9_ga(x0)
U5_GAAA(0, less_out_ga) → PART_IN_GAAA(0)
U5_GAAA(s(z0), less_out_ga) → PART_IN_GAAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(0, less_out_ga) → PART_IN_GAAA(0)
PART_IN_GAAA(s(x0)) → U5_GAAA(s(x0), U9_ga(less_in_ga(x0)))
U5_GAAA(s(z0), less_out_ga) → PART_IN_GAAA(s(z0))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga)
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U9_ga(less_in_ga(X))
U9_ga(less_out_ga) → less_out_ga
less_in_ga(x0)
U9_ga(x0)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
U5_GAAA(0, less_out_ga) → PART_IN_GAAA(0)
PART_IN_GAAA(s(x0)) → U5_GAAA(s(x0), U9_ga(less_in_ga(x0)))
U5_GAAA(s(z0), less_out_ga) → PART_IN_GAAA(s(z0))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga)
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U9_ga(less_in_ga(X))
U9_ga(less_out_ga) → less_out_ga
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
LESS_IN_AA → LESS_IN_AA
LESS_IN_AA → LESS_IN_AA
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PrologToPiTRSProof
PART_IN_AAAA → PART_IN_AAAA
PART_IN_AAAA → PART_IN_AAAA
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
QS_IN_AA(.(X, Xs), Ys) → U1_AA(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AA(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
QS_IN_AA(.(X, Xs), Ys) → U1_AA(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AA(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
QS_IN_AA → U1_AA(part_in_aaaa)
U1_AA(part_out_aaaa) → QS_IN_AA
U2_AA(qs_out_aa) → QS_IN_AA
U1_AA(part_out_aaaa) → U2_AA(qs_in_aa)
part_in_aaaa → U5_aaaa(less_in_aa)
part_in_aaaa → U7_aaaa(part_in_aaaa)
part_in_aaaa → part_out_aaaa
qs_in_aa → qs_out_aa
qs_in_aa → U1_aa(part_in_aaaa)
U5_aaaa(less_out_aa(X)) → U6_aaaa(part_in_gaaa(X))
U7_aaaa(part_out_aaaa) → part_out_aaaa
U1_aa(part_out_aaaa) → U2_aa(qs_in_aa)
less_in_aa → less_out_aa(0)
less_in_aa → U9_aa(less_in_aa)
U6_aaaa(part_out_gaaa) → part_out_aaaa
U2_aa(qs_out_aa) → U3_aa(qs_in_aa)
U9_aa(less_out_aa(X)) → less_out_aa(s(X))
part_in_gaaa(X) → U5_gaaa(X, less_in_ga(X))
part_in_gaaa(X) → U7_gaaa(part_in_gaaa(X))
part_in_gaaa(X) → part_out_gaaa
U3_aa(qs_out_aa) → U4_aa(app_in_aaa)
U5_gaaa(X, less_out_ga) → U6_gaaa(part_in_gaaa(X))
U7_gaaa(part_out_gaaa) → part_out_gaaa
U4_aa(app_out_aaa) → qs_out_aa
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U9_ga(less_in_ga(X))
U6_gaaa(part_out_gaaa) → part_out_gaaa
app_in_aaa → app_out_aaa
app_in_aaa → U8_aaa(app_in_aaa)
U9_ga(less_out_ga) → less_out_ga
U8_aaa(app_out_aaa) → app_out_aaa
part_in_aaaa
qs_in_aa
U5_aaaa(x0)
U7_aaaa(x0)
U1_aa(x0)
less_in_aa
U6_aaaa(x0)
U2_aa(x0)
U9_aa(x0)
part_in_gaaa(x0)
U3_aa(x0)
U5_gaaa(x0, x1)
U7_gaaa(x0)
U4_aa(x0)
less_in_ga(x0)
U6_gaaa(x0)
app_in_aaa
U9_ga(x0)
U8_aaa(x0)
QS_IN_AA → U1_AA(part_out_aaaa)
QS_IN_AA → U1_AA(U5_aaaa(less_in_aa))
QS_IN_AA → U1_AA(U7_aaaa(part_in_aaaa))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
QS_IN_AA → U1_AA(U7_aaaa(part_in_aaaa))
U2_AA(qs_out_aa) → QS_IN_AA
U1_AA(part_out_aaaa) → QS_IN_AA
QS_IN_AA → U1_AA(U5_aaaa(less_in_aa))
QS_IN_AA → U1_AA(part_out_aaaa)
U1_AA(part_out_aaaa) → U2_AA(qs_in_aa)
part_in_aaaa → U5_aaaa(less_in_aa)
part_in_aaaa → U7_aaaa(part_in_aaaa)
part_in_aaaa → part_out_aaaa
qs_in_aa → qs_out_aa
qs_in_aa → U1_aa(part_in_aaaa)
U5_aaaa(less_out_aa(X)) → U6_aaaa(part_in_gaaa(X))
U7_aaaa(part_out_aaaa) → part_out_aaaa
U1_aa(part_out_aaaa) → U2_aa(qs_in_aa)
less_in_aa → less_out_aa(0)
less_in_aa → U9_aa(less_in_aa)
U6_aaaa(part_out_gaaa) → part_out_aaaa
U2_aa(qs_out_aa) → U3_aa(qs_in_aa)
U9_aa(less_out_aa(X)) → less_out_aa(s(X))
part_in_gaaa(X) → U5_gaaa(X, less_in_ga(X))
part_in_gaaa(X) → U7_gaaa(part_in_gaaa(X))
part_in_gaaa(X) → part_out_gaaa
U3_aa(qs_out_aa) → U4_aa(app_in_aaa)
U5_gaaa(X, less_out_ga) → U6_gaaa(part_in_gaaa(X))
U7_gaaa(part_out_gaaa) → part_out_gaaa
U4_aa(app_out_aaa) → qs_out_aa
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U9_ga(less_in_ga(X))
U6_gaaa(part_out_gaaa) → part_out_gaaa
app_in_aaa → app_out_aaa
app_in_aaa → U8_aaa(app_in_aaa)
U9_ga(less_out_ga) → less_out_ga
U8_aaa(app_out_aaa) → app_out_aaa
part_in_aaaa
qs_in_aa
U5_aaaa(x0)
U7_aaaa(x0)
U1_aa(x0)
less_in_aa
U6_aaaa(x0)
U2_aa(x0)
U9_aa(x0)
part_in_gaaa(x0)
U3_aa(x0)
U5_gaaa(x0, x1)
U7_gaaa(x0)
U4_aa(x0)
less_in_ga(x0)
U6_gaaa(x0)
app_in_aaa
U9_ga(x0)
U8_aaa(x0)
U1_AA(part_out_aaaa) → U2_AA(U1_aa(part_in_aaaa))
U1_AA(part_out_aaaa) → U2_AA(qs_out_aa)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
QS_IN_AA → U1_AA(U7_aaaa(part_in_aaaa))
U1_AA(part_out_aaaa) → QS_IN_AA
U2_AA(qs_out_aa) → QS_IN_AA
U1_AA(part_out_aaaa) → U2_AA(U1_aa(part_in_aaaa))
QS_IN_AA → U1_AA(part_out_aaaa)
QS_IN_AA → U1_AA(U5_aaaa(less_in_aa))
U1_AA(part_out_aaaa) → U2_AA(qs_out_aa)
part_in_aaaa → U5_aaaa(less_in_aa)
part_in_aaaa → U7_aaaa(part_in_aaaa)
part_in_aaaa → part_out_aaaa
qs_in_aa → qs_out_aa
qs_in_aa → U1_aa(part_in_aaaa)
U5_aaaa(less_out_aa(X)) → U6_aaaa(part_in_gaaa(X))
U7_aaaa(part_out_aaaa) → part_out_aaaa
U1_aa(part_out_aaaa) → U2_aa(qs_in_aa)
less_in_aa → less_out_aa(0)
less_in_aa → U9_aa(less_in_aa)
U6_aaaa(part_out_gaaa) → part_out_aaaa
U2_aa(qs_out_aa) → U3_aa(qs_in_aa)
U9_aa(less_out_aa(X)) → less_out_aa(s(X))
part_in_gaaa(X) → U5_gaaa(X, less_in_ga(X))
part_in_gaaa(X) → U7_gaaa(part_in_gaaa(X))
part_in_gaaa(X) → part_out_gaaa
U3_aa(qs_out_aa) → U4_aa(app_in_aaa)
U5_gaaa(X, less_out_ga) → U6_gaaa(part_in_gaaa(X))
U7_gaaa(part_out_gaaa) → part_out_gaaa
U4_aa(app_out_aaa) → qs_out_aa
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U9_ga(less_in_ga(X))
U6_gaaa(part_out_gaaa) → part_out_gaaa
app_in_aaa → app_out_aaa
app_in_aaa → U8_aaa(app_in_aaa)
U9_ga(less_out_ga) → less_out_ga
U8_aaa(app_out_aaa) → app_out_aaa
part_in_aaaa
qs_in_aa
U5_aaaa(x0)
U7_aaaa(x0)
U1_aa(x0)
less_in_aa
U6_aaaa(x0)
U2_aa(x0)
U9_aa(x0)
part_in_gaaa(x0)
U3_aa(x0)
U5_gaaa(x0, x1)
U7_gaaa(x0)
U4_aa(x0)
less_in_ga(x0)
U6_gaaa(x0)
app_in_aaa
U9_ga(x0)
U8_aaa(x0)
QS_IN_AA → U1_AA(U7_aaaa(part_in_aaaa))
U1_AA(part_out_aaaa) → QS_IN_AA
U2_AA(qs_out_aa) → QS_IN_AA
U1_AA(part_out_aaaa) → U2_AA(U1_aa(part_in_aaaa))
QS_IN_AA → U1_AA(part_out_aaaa)
QS_IN_AA → U1_AA(U5_aaaa(less_in_aa))
U1_AA(part_out_aaaa) → U2_AA(qs_out_aa)
part_in_aaaa → U5_aaaa(less_in_aa)
part_in_aaaa → U7_aaaa(part_in_aaaa)
part_in_aaaa → part_out_aaaa
qs_in_aa → qs_out_aa
qs_in_aa → U1_aa(part_in_aaaa)
U5_aaaa(less_out_aa(X)) → U6_aaaa(part_in_gaaa(X))
U7_aaaa(part_out_aaaa) → part_out_aaaa
U1_aa(part_out_aaaa) → U2_aa(qs_in_aa)
less_in_aa → less_out_aa(0)
less_in_aa → U9_aa(less_in_aa)
U6_aaaa(part_out_gaaa) → part_out_aaaa
U2_aa(qs_out_aa) → U3_aa(qs_in_aa)
U9_aa(less_out_aa(X)) → less_out_aa(s(X))
part_in_gaaa(X) → U5_gaaa(X, less_in_ga(X))
part_in_gaaa(X) → U7_gaaa(part_in_gaaa(X))
part_in_gaaa(X) → part_out_gaaa
U3_aa(qs_out_aa) → U4_aa(app_in_aaa)
U5_gaaa(X, less_out_ga) → U6_gaaa(part_in_gaaa(X))
U7_gaaa(part_out_gaaa) → part_out_gaaa
U4_aa(app_out_aaa) → qs_out_aa
less_in_ga(0) → less_out_ga
less_in_ga(s(X)) → U9_ga(less_in_ga(X))
U6_gaaa(part_out_gaaa) → part_out_gaaa
app_in_aaa → app_out_aaa
app_in_aaa → U8_aaa(app_in_aaa)
U9_ga(less_out_ga) → less_out_ga
U8_aaa(app_out_aaa) → app_out_aaa
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
QS_IN_AG(.(X, Xs), Ys) → U1_AG(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AG(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AAAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
LESS_IN_AA(s(X), s(Y)) → U9_AA(X, Y, less_in_aa(X, Y))
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U9_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AAAA(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AG(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
QS_IN_AA(.(X, Xs), Ys) → U1_AA(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AA(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AA(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_AA(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U3_AA(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_AA(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
U3_AA(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → APP_IN_AAA(Ls, .(X, Bs), Ys)
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → U8_AAA(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
U2_AG(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_AG(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U2_AG(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U3_AG(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_AG(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
U3_AG(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → APP_IN_AAG(Ls, .(X, Bs), Ys)
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → U8_AAG(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
QS_IN_AG(.(X, Xs), Ys) → U1_AG(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AG(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_AAAA(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
PART_IN_AAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_AA(X, Y)
LESS_IN_AA(s(X), s(Y)) → U9_AA(X, Y, less_in_aa(X, Y))
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_AAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_AAAA(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → LESS_IN_GA(X, Y)
LESS_IN_GA(s(X), s(Y)) → U9_GA(X, Y, less_in_ga(X, Y))
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_GAAA(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_AAAA(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AG(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U1_AG(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
QS_IN_AA(.(X, Xs), Ys) → U1_AA(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
QS_IN_AA(.(X, Xs), Ys) → PART_IN_AAAA(X, Xs, Littles, Bigs)
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AA(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_AA(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U3_AA(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_AA(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
U3_AA(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → APP_IN_AAA(Ls, .(X, Bs), Ys)
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → U8_AAA(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
U2_AG(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_AG(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U2_AG(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U3_AG(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_AG(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
U3_AG(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → APP_IN_AAG(Ls, .(X, Bs), Ys)
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → U8_AAG(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAG(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAG(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_AAG(.(X, Zs)) → APP_IN_AAG(Zs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_AAA(.(X, Xs), Ys, .(X, Zs)) → APP_IN_AAA(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
APP_IN_AAA → APP_IN_AAA
APP_IN_AAA → APP_IN_AAA
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_GA(s(X), s(Y)) → LESS_IN_GA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_IN_GA(s(X)) → LESS_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
PART_IN_GAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_GAAA(X, Xs, Ls, Bs)
PART_IN_GAAA(X, .(Y, Xs), .(Y, Ls), Bs) → U5_GAAA(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
U5_GAAA(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → PART_IN_GAAA(X, Xs, Ls, Bs)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PiDP
↳ PiDP
↳ PiDP
U5_GAAA(X, less_out_ga(X)) → PART_IN_GAAA(X)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(X) → U5_GAAA(X, less_in_ga(X))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U9_ga(X, less_in_ga(X))
U9_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ga(x0)
U9_ga(x0, x1)
PART_IN_GAAA(s(x0)) → U5_GAAA(s(x0), U9_ga(x0, less_in_ga(x0)))
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ PiDP
↳ PiDP
↳ PiDP
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0))
U5_GAAA(X, less_out_ga(X)) → PART_IN_GAAA(X)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(s(x0)) → U5_GAAA(s(x0), U9_ga(x0, less_in_ga(x0)))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U9_ga(X, less_in_ga(X))
U9_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ga(x0)
U9_ga(x0, x1)
U5_GAAA(0, less_out_ga(0)) → PART_IN_GAAA(0)
U5_GAAA(s(z0), less_out_ga(s(z0))) → PART_IN_GAAA(s(z0))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
↳ PiDP
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0))
U5_GAAA(0, less_out_ga(0)) → PART_IN_GAAA(0)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(s(x0)) → U5_GAAA(s(x0), U9_ga(x0, less_in_ga(x0)))
U5_GAAA(s(z0), less_out_ga(s(z0))) → PART_IN_GAAA(s(z0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U9_ga(X, less_in_ga(X))
U9_ga(X, less_out_ga(X)) → less_out_ga(s(X))
less_in_ga(x0)
U9_ga(x0, x1)
PART_IN_GAAA(0) → U5_GAAA(0, less_out_ga(0))
U5_GAAA(0, less_out_ga(0)) → PART_IN_GAAA(0)
PART_IN_GAAA(X) → PART_IN_GAAA(X)
PART_IN_GAAA(s(x0)) → U5_GAAA(s(x0), U9_ga(x0, less_in_ga(x0)))
U5_GAAA(s(z0), less_out_ga(s(z0))) → PART_IN_GAAA(s(z0))
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U9_ga(X, less_in_ga(X))
U9_ga(X, less_out_ga(X)) → less_out_ga(s(X))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LESS_IN_AA(s(X), s(Y)) → LESS_IN_AA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PiDP
LESS_IN_AA → LESS_IN_AA
LESS_IN_AA → LESS_IN_AA
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
PART_IN_AAAA(X, .(Y, Xs), Ls, .(Y, Bs)) → PART_IN_AAAA(X, Xs, Ls, Bs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PiDP
PART_IN_AAAA → PART_IN_AAAA
PART_IN_AAAA → PART_IN_AAAA
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
QS_IN_AA(.(X, Xs), Ys) → U1_AA(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AA(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
qs_in_ag([], []) → qs_out_ag([], [])
qs_in_ag(.(X, Xs), Ys) → U1_ag(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_ag(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_ag(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
U2_ag(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_ag(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U3_ag(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_ag(X, Xs, Ys, app_in_aag(Ls, .(X, Bs), Ys))
app_in_aag([], X, X) → app_out_aag([], X, X)
app_in_aag(.(X, Xs), Ys, .(X, Zs)) → U8_aag(X, Xs, Ys, Zs, app_in_aag(Xs, Ys, Zs))
U8_aag(X, Xs, Ys, Zs, app_out_aag(Xs, Ys, Zs)) → app_out_aag(.(X, Xs), Ys, .(X, Zs))
U4_ag(X, Xs, Ys, app_out_aag(Ls, .(X, Bs), Ys)) → qs_out_ag(.(X, Xs), Ys)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
QS_IN_AA(.(X, Xs), Ys) → U1_AA(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_AA(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
U2_AA(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → QS_IN_AA(Bigs, Bs)
U1_AA(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → QS_IN_AA(Littles, Ls)
part_in_aaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_aaaa(X, Y, Xs, Ls, Bs, less_in_aa(X, Y))
part_in_aaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_aaaa(X, Y, Xs, Ls, Bs, part_in_aaaa(X, Xs, Ls, Bs))
part_in_aaaa(X, [], [], []) → part_out_aaaa(X, [], [], [])
qs_in_aa([], []) → qs_out_aa([], [])
qs_in_aa(.(X, Xs), Ys) → U1_aa(X, Xs, Ys, part_in_aaaa(X, Xs, Littles, Bigs))
U5_aaaa(X, Y, Xs, Ls, Bs, less_out_aa(X, Y)) → U6_aaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U7_aaaa(X, Y, Xs, Ls, Bs, part_out_aaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U1_aa(X, Xs, Ys, part_out_aaaa(X, Xs, Littles, Bigs)) → U2_aa(X, Xs, Ys, Bigs, qs_in_aa(Littles, Ls))
less_in_aa(0, s(X)) → less_out_aa(0, s(X))
less_in_aa(s(X), s(Y)) → U9_aa(X, Y, less_in_aa(X, Y))
U6_aaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_aaaa(X, .(Y, Xs), .(Y, Ls), Bs)
U2_aa(X, Xs, Ys, Bigs, qs_out_aa(Littles, Ls)) → U3_aa(X, Xs, Ys, Ls, qs_in_aa(Bigs, Bs))
U9_aa(X, Y, less_out_aa(X, Y)) → less_out_aa(s(X), s(Y))
part_in_gaaa(X, .(Y, Xs), .(Y, Ls), Bs) → U5_gaaa(X, Y, Xs, Ls, Bs, less_in_ga(X, Y))
part_in_gaaa(X, .(Y, Xs), Ls, .(Y, Bs)) → U7_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
part_in_gaaa(X, [], [], []) → part_out_gaaa(X, [], [], [])
U3_aa(X, Xs, Ys, Ls, qs_out_aa(Bigs, Bs)) → U4_aa(X, Xs, Ys, app_in_aaa(Ls, .(X, Bs), Ys))
U5_gaaa(X, Y, Xs, Ls, Bs, less_out_ga(X, Y)) → U6_gaaa(X, Y, Xs, Ls, Bs, part_in_gaaa(X, Xs, Ls, Bs))
U7_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), Ls, .(Y, Bs))
U4_aa(X, Xs, Ys, app_out_aaa(Ls, .(X, Bs), Ys)) → qs_out_aa(.(X, Xs), Ys)
less_in_ga(0, s(X)) → less_out_ga(0, s(X))
less_in_ga(s(X), s(Y)) → U9_ga(X, Y, less_in_ga(X, Y))
U6_gaaa(X, Y, Xs, Ls, Bs, part_out_gaaa(X, Xs, Ls, Bs)) → part_out_gaaa(X, .(Y, Xs), .(Y, Ls), Bs)
app_in_aaa([], X, X) → app_out_aaa([], X, X)
app_in_aaa(.(X, Xs), Ys, .(X, Zs)) → U8_aaa(X, Xs, Ys, Zs, app_in_aaa(Xs, Ys, Zs))
U9_ga(X, Y, less_out_ga(X, Y)) → less_out_ga(s(X), s(Y))
U8_aaa(X, Xs, Ys, Zs, app_out_aaa(Xs, Ys, Zs)) → app_out_aaa(.(X, Xs), Ys, .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
QS_IN_AA → U1_AA(part_in_aaaa)
U1_AA(part_out_aaaa) → QS_IN_AA
U2_AA(qs_out_aa) → QS_IN_AA
U1_AA(part_out_aaaa) → U2_AA(qs_in_aa)
part_in_aaaa → U5_aaaa(less_in_aa)
part_in_aaaa → U7_aaaa(part_in_aaaa)
part_in_aaaa → part_out_aaaa
qs_in_aa → qs_out_aa
qs_in_aa → U1_aa(part_in_aaaa)
U5_aaaa(less_out_aa(X)) → U6_aaaa(part_in_gaaa(X))
U7_aaaa(part_out_aaaa) → part_out_aaaa
U1_aa(part_out_aaaa) → U2_aa(qs_in_aa)
less_in_aa → less_out_aa(0)
less_in_aa → U9_aa(less_in_aa)
U6_aaaa(part_out_gaaa(X)) → part_out_aaaa
U2_aa(qs_out_aa) → U3_aa(qs_in_aa)
U9_aa(less_out_aa(X)) → less_out_aa(s(X))
part_in_gaaa(X) → U5_gaaa(X, less_in_ga(X))
part_in_gaaa(X) → U7_gaaa(X, part_in_gaaa(X))
part_in_gaaa(X) → part_out_gaaa(X)
U3_aa(qs_out_aa) → U4_aa(app_in_aaa)
U5_gaaa(X, less_out_ga(X)) → U6_gaaa(X, part_in_gaaa(X))
U7_gaaa(X, part_out_gaaa(X)) → part_out_gaaa(X)
U4_aa(app_out_aaa) → qs_out_aa
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U9_ga(X, less_in_ga(X))
U6_gaaa(X, part_out_gaaa(X)) → part_out_gaaa(X)
app_in_aaa → app_out_aaa
app_in_aaa → U8_aaa(app_in_aaa)
U9_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U8_aaa(app_out_aaa) → app_out_aaa
part_in_aaaa
qs_in_aa
U5_aaaa(x0)
U7_aaaa(x0)
U1_aa(x0)
less_in_aa
U6_aaaa(x0)
U2_aa(x0)
U9_aa(x0)
part_in_gaaa(x0)
U3_aa(x0)
U5_gaaa(x0, x1)
U7_gaaa(x0, x1)
U4_aa(x0)
less_in_ga(x0)
U6_gaaa(x0, x1)
app_in_aaa
U9_ga(x0, x1)
U8_aaa(x0)
QS_IN_AA → U1_AA(part_out_aaaa)
QS_IN_AA → U1_AA(U5_aaaa(less_in_aa))
QS_IN_AA → U1_AA(U7_aaaa(part_in_aaaa))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
QS_IN_AA → U1_AA(U7_aaaa(part_in_aaaa))
U2_AA(qs_out_aa) → QS_IN_AA
U1_AA(part_out_aaaa) → QS_IN_AA
QS_IN_AA → U1_AA(U5_aaaa(less_in_aa))
QS_IN_AA → U1_AA(part_out_aaaa)
U1_AA(part_out_aaaa) → U2_AA(qs_in_aa)
part_in_aaaa → U5_aaaa(less_in_aa)
part_in_aaaa → U7_aaaa(part_in_aaaa)
part_in_aaaa → part_out_aaaa
qs_in_aa → qs_out_aa
qs_in_aa → U1_aa(part_in_aaaa)
U5_aaaa(less_out_aa(X)) → U6_aaaa(part_in_gaaa(X))
U7_aaaa(part_out_aaaa) → part_out_aaaa
U1_aa(part_out_aaaa) → U2_aa(qs_in_aa)
less_in_aa → less_out_aa(0)
less_in_aa → U9_aa(less_in_aa)
U6_aaaa(part_out_gaaa(X)) → part_out_aaaa
U2_aa(qs_out_aa) → U3_aa(qs_in_aa)
U9_aa(less_out_aa(X)) → less_out_aa(s(X))
part_in_gaaa(X) → U5_gaaa(X, less_in_ga(X))
part_in_gaaa(X) → U7_gaaa(X, part_in_gaaa(X))
part_in_gaaa(X) → part_out_gaaa(X)
U3_aa(qs_out_aa) → U4_aa(app_in_aaa)
U5_gaaa(X, less_out_ga(X)) → U6_gaaa(X, part_in_gaaa(X))
U7_gaaa(X, part_out_gaaa(X)) → part_out_gaaa(X)
U4_aa(app_out_aaa) → qs_out_aa
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U9_ga(X, less_in_ga(X))
U6_gaaa(X, part_out_gaaa(X)) → part_out_gaaa(X)
app_in_aaa → app_out_aaa
app_in_aaa → U8_aaa(app_in_aaa)
U9_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U8_aaa(app_out_aaa) → app_out_aaa
part_in_aaaa
qs_in_aa
U5_aaaa(x0)
U7_aaaa(x0)
U1_aa(x0)
less_in_aa
U6_aaaa(x0)
U2_aa(x0)
U9_aa(x0)
part_in_gaaa(x0)
U3_aa(x0)
U5_gaaa(x0, x1)
U7_gaaa(x0, x1)
U4_aa(x0)
less_in_ga(x0)
U6_gaaa(x0, x1)
app_in_aaa
U9_ga(x0, x1)
U8_aaa(x0)
U1_AA(part_out_aaaa) → U2_AA(U1_aa(part_in_aaaa))
U1_AA(part_out_aaaa) → U2_AA(qs_out_aa)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ NonTerminationProof
QS_IN_AA → U1_AA(U7_aaaa(part_in_aaaa))
U1_AA(part_out_aaaa) → QS_IN_AA
U2_AA(qs_out_aa) → QS_IN_AA
U1_AA(part_out_aaaa) → U2_AA(U1_aa(part_in_aaaa))
QS_IN_AA → U1_AA(part_out_aaaa)
QS_IN_AA → U1_AA(U5_aaaa(less_in_aa))
U1_AA(part_out_aaaa) → U2_AA(qs_out_aa)
part_in_aaaa → U5_aaaa(less_in_aa)
part_in_aaaa → U7_aaaa(part_in_aaaa)
part_in_aaaa → part_out_aaaa
qs_in_aa → qs_out_aa
qs_in_aa → U1_aa(part_in_aaaa)
U5_aaaa(less_out_aa(X)) → U6_aaaa(part_in_gaaa(X))
U7_aaaa(part_out_aaaa) → part_out_aaaa
U1_aa(part_out_aaaa) → U2_aa(qs_in_aa)
less_in_aa → less_out_aa(0)
less_in_aa → U9_aa(less_in_aa)
U6_aaaa(part_out_gaaa(X)) → part_out_aaaa
U2_aa(qs_out_aa) → U3_aa(qs_in_aa)
U9_aa(less_out_aa(X)) → less_out_aa(s(X))
part_in_gaaa(X) → U5_gaaa(X, less_in_ga(X))
part_in_gaaa(X) → U7_gaaa(X, part_in_gaaa(X))
part_in_gaaa(X) → part_out_gaaa(X)
U3_aa(qs_out_aa) → U4_aa(app_in_aaa)
U5_gaaa(X, less_out_ga(X)) → U6_gaaa(X, part_in_gaaa(X))
U7_gaaa(X, part_out_gaaa(X)) → part_out_gaaa(X)
U4_aa(app_out_aaa) → qs_out_aa
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U9_ga(X, less_in_ga(X))
U6_gaaa(X, part_out_gaaa(X)) → part_out_gaaa(X)
app_in_aaa → app_out_aaa
app_in_aaa → U8_aaa(app_in_aaa)
U9_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U8_aaa(app_out_aaa) → app_out_aaa
part_in_aaaa
qs_in_aa
U5_aaaa(x0)
U7_aaaa(x0)
U1_aa(x0)
less_in_aa
U6_aaaa(x0)
U2_aa(x0)
U9_aa(x0)
part_in_gaaa(x0)
U3_aa(x0)
U5_gaaa(x0, x1)
U7_gaaa(x0, x1)
U4_aa(x0)
less_in_ga(x0)
U6_gaaa(x0, x1)
app_in_aaa
U9_ga(x0, x1)
U8_aaa(x0)
QS_IN_AA → U1_AA(U7_aaaa(part_in_aaaa))
U1_AA(part_out_aaaa) → QS_IN_AA
U2_AA(qs_out_aa) → QS_IN_AA
U1_AA(part_out_aaaa) → U2_AA(U1_aa(part_in_aaaa))
QS_IN_AA → U1_AA(part_out_aaaa)
QS_IN_AA → U1_AA(U5_aaaa(less_in_aa))
U1_AA(part_out_aaaa) → U2_AA(qs_out_aa)
part_in_aaaa → U5_aaaa(less_in_aa)
part_in_aaaa → U7_aaaa(part_in_aaaa)
part_in_aaaa → part_out_aaaa
qs_in_aa → qs_out_aa
qs_in_aa → U1_aa(part_in_aaaa)
U5_aaaa(less_out_aa(X)) → U6_aaaa(part_in_gaaa(X))
U7_aaaa(part_out_aaaa) → part_out_aaaa
U1_aa(part_out_aaaa) → U2_aa(qs_in_aa)
less_in_aa → less_out_aa(0)
less_in_aa → U9_aa(less_in_aa)
U6_aaaa(part_out_gaaa(X)) → part_out_aaaa
U2_aa(qs_out_aa) → U3_aa(qs_in_aa)
U9_aa(less_out_aa(X)) → less_out_aa(s(X))
part_in_gaaa(X) → U5_gaaa(X, less_in_ga(X))
part_in_gaaa(X) → U7_gaaa(X, part_in_gaaa(X))
part_in_gaaa(X) → part_out_gaaa(X)
U3_aa(qs_out_aa) → U4_aa(app_in_aaa)
U5_gaaa(X, less_out_ga(X)) → U6_gaaa(X, part_in_gaaa(X))
U7_gaaa(X, part_out_gaaa(X)) → part_out_gaaa(X)
U4_aa(app_out_aaa) → qs_out_aa
less_in_ga(0) → less_out_ga(0)
less_in_ga(s(X)) → U9_ga(X, less_in_ga(X))
U6_gaaa(X, part_out_gaaa(X)) → part_out_gaaa(X)
app_in_aaa → app_out_aaa
app_in_aaa → U8_aaa(app_in_aaa)
U9_ga(X, less_out_ga(X)) → less_out_ga(s(X))
U8_aaa(app_out_aaa) → app_out_aaa